package handler

import (
	"mxshop_srvs/consul_srv/dao/redis"
	proto "mxshop_srvs/consul_srv/proto/gen/v1"
)

type Service struct {
	RDB     *redis.Redis
	Watcher *Watcher
	proto.UnimplementedServiceServer
}

// NewService defines an order service.
func NewService(rdb *redis.Redis) *Service {
	return &Service{
		RDB: rdb,
	}
}
